home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 November / SGI Freeware 1999 November - Disc 1.iso / dist / fw_expect.idb / usr / freeware / catman / u_man / cat1 / mkpasswd.Z / mkpasswd
Text File  |  1999-01-26  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4.      MMMMKKKKPPPPAAAASSSSSSSSWWWWDDDD((((1111))))      UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((22222222    AAAAuuuugggguuuusssstttt 1111999999994444))))       MMMMKKKKPPPPAAAASSSSSSSSWWWWDDDD((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       mkpasswd - generate new password, optionally apply it    to a
  10.       user
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       mmmmkkkkppppaaaasssssssswwwwdddd [ _a_r_g_s ] [ _u_s_e_r ]
  14.  
  15.      IIIINNNNTTTTRRRROOOODDDDUUUUCCCCTTTTIIIIOOOONNNN
  16.       mmmmkkkkppppaaaasssssssswwwwdddd generates passwords and can apply them
  17.       automatically    to users.  mkpasswd is based on    the code from
  18.       Chapter 23 of    the O'Reilly book "Exploring Expect".
  19.  
  20.      UUUUSSSSAAAAGGGGEEEE
  21.       With no arguments, mmmmkkkkppppaaaasssssssswwwwdddd returns a    new password.
  22.  
  23.            mkpasswd
  24.  
  25.       With a user name, mmmmkkkkppppaaaasssssssswwwwdddd assigns a new password to the
  26.       user.
  27.  
  28.            mkpasswd    don
  29.  
  30.       The passwords    are randomly generated according to the    flags
  31.       below.
  32.  
  33.  
  34.      FFFFLLLLAAAAGGGGSSSS
  35.       The ----llll flag defines the length of the    password.  The default
  36.       is 9.    The following example creates a    20 character password.
  37.  
  38.            mkpasswd    -l 20
  39.  
  40.       The ----dddd flag defines the minimum number of digits that    must
  41.       be in    the password.  The default is 2.  The following
  42.       example creates a password with at least 3 digits.
  43.  
  44.            mkpasswd    -d 3
  45.  
  46.       The ----cccc flag defines the minimum number of lowercase
  47.       alphabetic characters    that must be in    the password.  The
  48.       default is 2.
  49.  
  50.       The ----CCCC flag defines the minimum number of uppercase
  51.       alphabetic characters    that must be in    the password.  The
  52.       default is 2.
  53.  
  54.       The ----pppp flag names a program to set the password.  By
  55.       default, /etc/yppasswd is used if present, otherwise
  56.       /bin/passwd is used.
  57.  
  58.       The ----2222 flag causes characters    to be chosen so    that they
  59.       alternate between right and left hands (qwerty-style),
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 12/23/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      MMMMKKKKPPPPAAAASSSSSSSSWWWWDDDD((((1111))))      UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((22222222    AAAAuuuugggguuuusssstttt 1111999999994444))))       MMMMKKKKPPPPAAAASSSSSSSSWWWWDDDD((((1111))))
  71.  
  72.  
  73.  
  74.       making it harder for anyone watching passwords being
  75.       entered.  This can also make it easier for a password-
  76.       guessing program.
  77.  
  78.       The ----vvvv flag causes the password-setting interaction to be
  79.       visible.  By default,    it is suppressed.
  80.  
  81.  
  82.      EEEEXXXXAAAAMMMMPPPPLLLLEEEE
  83.       The following    example    creates    a 15-character password    that
  84.       contains at least 3 digits and 5 uppercase characters.
  85.  
  86.            mkpasswd    -l 15 -d 3 -C 5
  87.  
  88.  
  89.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  90.       "_E_x_p_l_o_r_i_n_g _E_x_p_e_c_t: _A _T_c_l-_B_a_s_e_d _T_o_o_l_k_i_t _f_o_r _A_u_t_o_m_a_t_i_n_g
  91.       _I_n_t_e_r_a_c_t_i_v_e _P_r_o_g_r_a_m_s"    by Don Libes, O'Reilly and Associates,
  92.       January 1995.
  93.  
  94.      AAAAUUUUTTTTHHHHOOOORRRR
  95.       Don Libes, National Institute    of Standards and Technology
  96.  
  97.       mmmmkkkkppppaaaasssssssswwwwdddd is in the public domain.  NIST and I    would
  98.       appreciate credit if this program or parts of    it are used.
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                        (printed 12/23/98)
  130.  
  131.  
  132.  
  133.